﻿

#ifndef __TRAPMASTER_COMMON_COMMONDEF_H_
#define __TRAPMASTER_COMMON_COMMONDEF_H_

#ifdef _WIN32

#if(_MSC_VER >= 1600)
#pragma execution_character_set("utf-8")
#endif 

#endif



#define dn_namespace_beg  namespace dn{
#define dn_namespace_end	}


dn_namespace_beg


typedef char					int8;	
typedef unsigned char			uint8;

typedef short					int16;
typedef unsigned short			uint16;

typedef int						int32;
typedef unsigned int			uint32; 

typedef long long				int64;
typedef unsigned long long		uint64;

typedef float					float32;




#define PI		3.14159265359f

#define STRMAX	1024

#define MILLISEC_EACH_FRAME		40

#define FRAME_COUNT_EACH_SEC	(1000/MILLISEC_EACH_FRAME)

dn_namespace_end


#endif